package com.studentSystem.service;

import com.studentSystem.pojo.Classes;
import com.studentSystem.utils.PageBeanUtil;

import java.util.List;

public interface ClassService {
    List<Class> list();

    PageBeanUtil<Class> listAll(Integer pageNum, Integer pageSize, String grade, Long id, String advisor);

    void addClass(Classes classes);

    void deleteClass(Long id);

    void updateClass(Classes classes);

    List<Classes> all();
}
